// import Cookies from 'js-cookie'

// const TokenKey = 'token'

export function getToken() {
  // return Cookies.get(TokenKey)
  return JSON.parse(window.localStorage.getItem('token'))
}

export function setToken(token) {
  // return Cookies.set(TokenKey, token)
  window.localStorage.setItem('token', JSON.stringify(token))
}
export function removeToken() {
  // return Cookies.remove(TokenKey)
  window.localStorage.removeItem('token')
}
